#include "Log.h"

using std::ifstream;
using std::ios;
using std::string;
using std::endl;

Loger::Loger()
{
	file.open("Log.log", ios::out);
}

Loger::~Loger()
{
	file.close();
}

void Loger::Write(string str)
{
	file << str << endl;
}

void Loger::WriteError(string str)
{
	file << "ERROR!!! : " << str << endl;
}

Loger *Log = new Loger();